package com.bskj.bms.bean.req;

public class BasePageListReqVo extends BaseReqVo{
	private String draw; //datatable 自带字段 ，需要返回页面
	private Integer startIndex;
	private Integer pageSize;

	public String getDraw() {
		return draw;
	}

	public void setDraw(String draw) {
		this.draw = draw;
	}

	public Integer getStartIndex() {
		return startIndex;
	}

	public void setStartIndex(Integer startIndex) {
		this.startIndex = startIndex;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	
	public int getPageNo() {
		int pageNo = (startIndex / pageSize) + 1;
		return pageNo;
	}

}
